"""DESK3 URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/3.0/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path, include
from backend import views

urlpatterns = [
    path('admin/', admin.site.urls),
    path('api', include('backend.urls')),
    path('user_login', views.user_login),
    path('user_sign_up', views.user_sign_up),
    path('teacher_show_list', views.teacher_show_list),
    path('show_blog_list', views.show_blog_list),
    path('show_blog_content', views.show_blog_content),
    path('write_blog', views.write_blog),
    path('blog_like', views.blog_like),
    path('blog_reward', views.blog_reward),
    path('blog_comment', views.blog_comment),
    path('make_reservation', views.make_reservation),
    path('comment_coach', views.comment_coach),
    path('collectbox', views.collectbox),
    path('show_collectbox', views.show_collectbox),
    path('collectbox_like', views.collectbox_like)
    # url('accounts', views.giveAccount),
    # url('studentAccounts', views.studentAccount),

]
